package com.zhonghui.scm.domain;

import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 供应链SCM-销售管理-销售退货子对象 scm_sale_return_item
 * 
 * @author zhonghui
 * @date 2022-05-20
 */
@ApiModel("销售管理-销售退货子对象")
public class ScmSaleDeliveryItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty("编号")
    private Long id;

    /** 销售到货id */
    @ApiModelProperty("销售到货id")
    private Long deliveryId;

    /** 物料id */
    @ApiModelProperty("物料id")
    private String materialId;

    /** 物料名称 */
    @Excel(name = "物料名称")
    @ApiModelProperty("物料名称")
    private String materialName;

    /** 型号 */
    @Excel(name = "型号")
    @ApiModelProperty("型号")
    private String materialModel;

    /** 规格 */
    @Excel(name = "规格")
    @ApiModelProperty("规格")
    private String materialSpecifications;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty("单位")
    private String materialUnit;

    /** 单价 */
    @Excel(name = "单价")
    @ApiModelProperty("单价")
    private Double materialPrice;

    /** 价格 */
    @Excel(name = "价格")
    @ApiModelProperty("价格")
    private BigDecimal amount;

    /** 订货数量 */
    @Excel(name = "订货数量")
    @ApiModelProperty("订货数量")
    private Long orderQuantity;

    /** 发货数量 */
    @Excel(name = "发货数量")
    @ApiModelProperty("发货数量")
    private Integer deliveryNum;

    /** 退货数量 */
    @Excel(name = "退货数量")
    @ApiModelProperty("退货数量")
    private Long returnNum;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String note;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(Long deliveryId) {
        this.deliveryId = deliveryId;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialModel() {
        return materialModel;
    }

    public void setMaterialModel(String materialModel) {
        this.materialModel = materialModel;
    }

    public String getMaterialSpecifications() {
        return materialSpecifications;
    }

    public void setMaterialSpecifications(String materialSpecifications) {
        this.materialSpecifications = materialSpecifications;
    }

    public String getMaterialUnit() {
        return materialUnit;
    }

    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit;
    }

    public Double getMaterialPrice() {
        return materialPrice;
    }

    public void setMaterialPrice(Double materialPrice) {
        this.materialPrice = materialPrice;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Long getOrderQuantity() {
        return orderQuantity;
    }

    public void setOrderQuantity(Long orderQuantity) {
        this.orderQuantity = orderQuantity;
    }

    public Integer getDeliveryNum() {
        return deliveryNum;
    }

    public void setDeliveryNum(Integer deliveryNum) {
        this.deliveryNum = deliveryNum;
    }

    public Long getReturnNum() {
        return returnNum;
    }

    public void setReturnNum(Long returnNum) {
        this.returnNum = returnNum;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "ScmSaleDeliveryItem{" +
                "id=" + id +
                ", deliveryId=" + deliveryId +
                ", materialId='" + materialId + '\'' +
                ", materialName='" + materialName + '\'' +
                ", materialModel='" + materialModel + '\'' +
                ", materialSpecifications='" + materialSpecifications + '\'' +
                ", materialUnit='" + materialUnit + '\'' +
                ", materialPrice=" + materialPrice +
                ", amount=" + amount +
                ", orderQuantity=" + orderQuantity +
                ", deliveryNum=" + deliveryNum +
                ", returnNum=" + returnNum +
                ", note='" + note + '\'' +
                '}';
    }
}
